package com.github.pig.stock.service;

import com.github.pig.common.vo.UserVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(serviceId = "pig-upms-service")
public interface UserService {
    @GetMapping("/user/findUserByUsername/{username}")
    UserVo findUserByUsername(@PathVariable(name = "username") String username) ;
}
